all: destino client

destino:
	test -d ../bin || mkdir ../bin

client: client.o
	gcc -Wall client.o -o ../bin/client -g -D_REENTRANT -lpthread

client.o: client.h client.c
	gcc -Wall -c -g client.c -lpanel -lncurses

clean:
	rm -rf *.o
	rm -rf ../bin/client
